﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001345 RID: 4933
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class TakeKilledPunkLordMonsterScoreScRsp : IMessage<TakeKilledPunkLordMonsterScoreScRsp>, IMessage, IEquatable<TakeKilledPunkLordMonsterScoreScRsp>, IDeepCloneable<TakeKilledPunkLordMonsterScoreScRsp>, IBufferMessage
	{
		// Token: 0x17003E3B RID: 15931
		// (get) Token: 0x0600DCDF RID: 56543 RVA: 0x0024F623 File Offset: 0x0024D823
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<TakeKilledPunkLordMonsterScoreScRsp> Parser
		{
			get
			{
				return TakeKilledPunkLordMonsterScoreScRsp._parser;
			}
		}

		// Token: 0x17003E3C RID: 15932
		// (get) Token: 0x0600DCE0 RID: 56544 RVA: 0x0024F62A File Offset: 0x0024D82A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return TakeKilledPunkLordMonsterScoreScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003E3D RID: 15933
		// (get) Token: 0x0600DCE1 RID: 56545 RVA: 0x0024F63C File Offset: 0x0024D83C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return TakeKilledPunkLordMonsterScoreScRsp.Descriptor;
			}
		}

		// Token: 0x0600DCE2 RID: 56546 RVA: 0x0024F643 File Offset: 0x0024D843
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeKilledPunkLordMonsterScoreScRsp()
		{
		}

		// Token: 0x0600DCE3 RID: 56547 RVA: 0x0024F658 File Offset: 0x0024D858
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeKilledPunkLordMonsterScoreScRsp(TakeKilledPunkLordMonsterScoreScRsp other) : this()
		{
			this.scoreId_ = other.scoreId_;
			this.retcode_ = other.retcode_;
			this.gDCDEOJAIAK_ = other.gDCDEOJAIAK_;
			this.kIFOHLGKLNL_ = other.kIFOHLGKLNL_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600DCE4 RID: 56548 RVA: 0x0024F6B1 File Offset: 0x0024D8B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TakeKilledPunkLordMonsterScoreScRsp Clone()
		{
			return new TakeKilledPunkLordMonsterScoreScRsp(this);
		}

		// Token: 0x17003E3E RID: 15934
		// (get) Token: 0x0600DCE5 RID: 56549 RVA: 0x0024F6B9 File Offset: 0x0024D8B9
		// (set) Token: 0x0600DCE6 RID: 56550 RVA: 0x0024F6C1 File Offset: 0x0024D8C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScoreId
		{
			get
			{
				return this.scoreId_;
			}
			set
			{
				this.scoreId_ = value;
			}
		}

		// Token: 0x17003E3F RID: 15935
		// (get) Token: 0x0600DCE7 RID: 56551 RVA: 0x0024F6CA File Offset: 0x0024D8CA
		// (set) Token: 0x0600DCE8 RID: 56552 RVA: 0x0024F6D2 File Offset: 0x0024D8D2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003E40 RID: 15936
		// (get) Token: 0x0600DCE9 RID: 56553 RVA: 0x0024F6DB File Offset: 0x0024D8DB
		// (set) Token: 0x0600DCEA RID: 56554 RVA: 0x0024F6E3 File Offset: 0x0024D8E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool GDCDEOJAIAK
		{
			get
			{
				return this.gDCDEOJAIAK_;
			}
			set
			{
				this.gDCDEOJAIAK_ = value;
			}
		}

		// Token: 0x17003E41 RID: 15937
		// (get) Token: 0x0600DCEB RID: 56555 RVA: 0x0024F6EC File Offset: 0x0024D8EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<PunkLordMonsterKey> KIFOHLGKLNL
		{
			get
			{
				return this.kIFOHLGKLNL_;
			}
		}

		// Token: 0x0600DCEC RID: 56556 RVA: 0x0024F6F4 File Offset: 0x0024D8F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as TakeKilledPunkLordMonsterScoreScRsp);
		}

		// Token: 0x0600DCED RID: 56557 RVA: 0x0024F704 File Offset: 0x0024D904
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(TakeKilledPunkLordMonsterScoreScRsp other)
		{
			return other != null && (other == this || (this.ScoreId == other.ScoreId && this.Retcode == other.Retcode && this.GDCDEOJAIAK == other.GDCDEOJAIAK && this.kIFOHLGKLNL_.Equals(other.kIFOHLGKLNL_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600DCEE RID: 56558 RVA: 0x0024F774 File Offset: 0x0024D974
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ScoreId != 0U)
			{
				num ^= this.ScoreId.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.GDCDEOJAIAK)
			{
				num ^= this.GDCDEOJAIAK.GetHashCode();
			}
			num ^= this.kIFOHLGKLNL_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600DCEF RID: 56559 RVA: 0x0024F7F3 File Offset: 0x0024D9F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600DCF0 RID: 56560 RVA: 0x0024F7FB File Offset: 0x0024D9FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600DCF1 RID: 56561 RVA: 0x0024F804 File Offset: 0x0024DA04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			this.kIFOHLGKLNL_.WriteTo(ref output, TakeKilledPunkLordMonsterScoreScRsp._repeated_kIFOHLGKLNL_codec);
			if (this.ScoreId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.ScoreId);
			}
			if (this.GDCDEOJAIAK)
			{
				output.WriteRawTag(120);
				output.WriteBool(this.GDCDEOJAIAK);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600DCF2 RID: 56562 RVA: 0x0024F88C File Offset: 0x0024DA8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ScoreId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScoreId);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.GDCDEOJAIAK)
			{
				num += 2;
			}
			num += this.kIFOHLGKLNL_.CalculateSize(TakeKilledPunkLordMonsterScoreScRsp._repeated_kIFOHLGKLNL_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600DCF3 RID: 56563 RVA: 0x0024F904 File Offset: 0x0024DB04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(TakeKilledPunkLordMonsterScoreScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ScoreId != 0U)
			{
				this.ScoreId = other.ScoreId;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.GDCDEOJAIAK)
			{
				this.GDCDEOJAIAK = other.GDCDEOJAIAK;
			}
			this.kIFOHLGKLNL_.Add(other.kIFOHLGKLNL_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600DCF4 RID: 56564 RVA: 0x0024F979 File Offset: 0x0024DB79
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600DCF5 RID: 56565 RVA: 0x0024F984 File Offset: 0x0024DB84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 66U)
				{
					if (num == 32U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 66U)
					{
						this.kIFOHLGKLNL_.AddEntriesFrom(ref input, TakeKilledPunkLordMonsterScoreScRsp._repeated_kIFOHLGKLNL_codec);
						continue;
					}
				}
				else
				{
					if (num == 72U)
					{
						this.ScoreId = input.ReadUInt32();
						continue;
					}
					if (num == 120U)
					{
						this.GDCDEOJAIAK = input.ReadBool();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040057A7 RID: 22439
		private static readonly MessageParser<TakeKilledPunkLordMonsterScoreScRsp> _parser = new MessageParser<TakeKilledPunkLordMonsterScoreScRsp>(() => new TakeKilledPunkLordMonsterScoreScRsp());

		// Token: 0x040057A8 RID: 22440
		private UnknownFieldSet _unknownFields;

		// Token: 0x040057A9 RID: 22441
		public const int ScoreIdFieldNumber = 9;

		// Token: 0x040057AA RID: 22442
		private uint scoreId_;

		// Token: 0x040057AB RID: 22443
		public const int RetcodeFieldNumber = 4;

		// Token: 0x040057AC RID: 22444
		private uint retcode_;

		// Token: 0x040057AD RID: 22445
		public const int GDCDEOJAIAKFieldNumber = 15;

		// Token: 0x040057AE RID: 22446
		private bool gDCDEOJAIAK_;

		// Token: 0x040057AF RID: 22447
		public const int KIFOHLGKLNLFieldNumber = 8;

		// Token: 0x040057B0 RID: 22448
		private static readonly FieldCodec<PunkLordMonsterKey> _repeated_kIFOHLGKLNL_codec = FieldCodec.ForMessage<PunkLordMonsterKey>(66U, PunkLordMonsterKey.Parser);

		// Token: 0x040057B1 RID: 22449
		private readonly RepeatedField<PunkLordMonsterKey> kIFOHLGKLNL_ = new RepeatedField<PunkLordMonsterKey>();
	}
}
